package com.java.advance.custom.mybatis.excutor;

import com.java.advance.custom.mybatis.config.MapperStatement;

import java.util.List;

/**
 * Created by aivin on 2019/3/12.
 */
public interface Executor {


    /**
     * @param mapperStatement
     * @param parameter
     * @param <E>
     * @return
     */
    <E> List<E> query(MapperStatement mapperStatement, Object parameter);


}
